<div class="assign_errors" id="assign_errors" style="display: none;">
  <%= link_to_function( image_tag( 'tango/22x22/emblems/emblem-unreadable.png',
                                   :alt => 'remove this attachment',
                                   :class => 'remove_img') ) do |page|
        page.hide( 'assign_errors' )
      end %>
  <div id="assign_error_msg"></div>
</div>
<div class="assign_form" id="assign_form" style="display: none;">
  <%= link_to_function( image_tag( 'tango/22x22/emblems/emblem-unreadable.png',
                                   :alt => 'remove this attachment',
                                   :class => 'remove_img') ) do |page|
        page.hide( 'assign_form' )
      end %>
  <% remote_form_for :user, :url => { :controller => :issues, :action => :assign,
                     :project_id => project.name, :id => issue.local_id } do |f| -%>
    <%= f.error_messages %>
    <%= f.label :name, 'Assign to' %>
    <%= f.text_field :name %><br />
    <%= f.submit 'Assign' %>
  <% end -%>
</div>
<%=
link_to_function( 'Assign this Issue' ) do |page|
  page.show( 'assign_form' )
end
%>
